package com.jubotech.business.web.dao;

import com.jubotech.business.web.domain.StatData;
import com.jubotech.business.web.query.StatDataQuery;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

@Repository
public interface StatDataDao extends Mapper<StatData>, MySqlMapper<StatData> {

    int saveBatch(List<StatData> data);

    List<StatData> queryStatData(StatDataQuery query);
}
